package cn.luowb.checkchat.service;

import cn.luowb.checkchat.common.result.Result;
import cn.luowb.checkchat.dao.entity.CommentDO;
import cn.luowb.checkchat.dto.req.CommentDTO;
import cn.luowb.checkchat.dto.req.CommentPageDTO;
import cn.luowb.checkchat.dto.resp.CommentPageVO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author heimenkyou
 * @description 针对表【comment(评论)】的数据库操作Service
 * @createDate 2025-09-01 19:07:09
 */
public interface CommentService extends IService<CommentDO> {

    Result<CommentPageVO> queryList(CommentPageDTO commentPageDTO);

    Result<CommentPageVO> commentReplies(CommentPageDTO commentPageDTO);

    Result deleteById(Long id);

    Result<CommentDO> savaComment(CommentDTO commentDTO);
}
